package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 gaea_report_dashboard_widget
 * 
 * @author ruoyi
 * @date 2022-05-02
 */
public class GaeaReportDashboardWidget extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组件id */
    private Long id;

    /** 报表编码 */
    @Excel(name = "报表编码")
    private String reportCode;

    /** 组件类型参考字典DASHBOARD_PANEL_TYPE */
    @Excel(name = "组件类型参考字典DASHBOARD_PANEL_TYPE")
    private String type;

    /** 组件的渲染属性json */
    @Excel(name = "组件的渲染属性json")
    private String setup;

    /** 组件的数据属性json */
    @Excel(name = "组件的数据属性json")
    private String data;

    /** 组件的配置属性json */
    @Excel(name = "组件的配置属性json")
    private String collapse;

    /** 组件的大小位置属性json */
    @Excel(name = "组件的大小位置属性json")
    private String position;

    /** options配置项 */
    @Excel(name = "options配置项")
    private String options;

    /** 自动刷新间隔秒 */
    @Excel(name = "自动刷新间隔秒")
    private Long refreshSeconds;

    /** 0--已禁用 1--已启用  DIC_NAME=ENABLE_FLAG */
    @Excel(name = "0--已禁用 1--已启用  DIC_NAME=ENABLE_FLAG")
    private Integer enableFlag;

    /**  0--未删除 1--已删除 DIC_NAME=DEL_FLAG */
    @Excel(name = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG")
    private Integer deleteFlag;

    /** 排序，图层的概念 */
    @Excel(name = "排序，图层的概念")
    private Long sort;

    /** 版本号 */
    @Excel(name = "版本号")
    private Integer version;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReportCode(String reportCode) 
    {
        this.reportCode = reportCode;
    }

    public String getReportCode() 
    {
        return reportCode;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSetup(String setup) 
    {
        this.setup = setup;
    }

    public String getSetup() 
    {
        return setup;
    }
    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }
    public void setCollapse(String collapse) 
    {
        this.collapse = collapse;
    }

    public String getCollapse() 
    {
        return collapse;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setOptions(String options) 
    {
        this.options = options;
    }

    public String getOptions() 
    {
        return options;
    }
    public void setRefreshSeconds(Long refreshSeconds) 
    {
        this.refreshSeconds = refreshSeconds;
    }

    public Long getRefreshSeconds() 
    {
        return refreshSeconds;
    }
    public void setEnableFlag(Integer enableFlag) 
    {
        this.enableFlag = enableFlag;
    }

    public Integer getEnableFlag() 
    {
        return enableFlag;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportCode", getReportCode())
            .append("type", getType())
            .append("setup", getSetup())
            .append("data", getData())
            .append("collapse", getCollapse())
            .append("position", getPosition())
            .append("options", getOptions())
            .append("refreshSeconds", getRefreshSeconds())
            .append("enableFlag", getEnableFlag())
            .append("deleteFlag", getDeleteFlag())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("version", getVersion())
            .toString();
    }
}
